package com.erp.fin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.fin.dao.CostapplyDao;
import com.erp.fin.domain.CostapplyDO;
import com.erp.fin.service.CostapplyService;



@Service
public class CostapplyServiceImpl implements CostapplyService {
	@Autowired
	private CostapplyDao costapplyDao;
	
	@Override
	public CostapplyDO get(Long id){
		return costapplyDao.get(id);
	}
	
	@Override
	public List<CostapplyDO> list(Map<String, Object> map){
		return costapplyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return costapplyDao.count(map);
	}
	
	@Override
	public int save(CostapplyDO costapply){
		return costapplyDao.save(costapply);
	}
	
	@Override
	public int update(CostapplyDO costapply){
		return costapplyDao.update(costapply);
	}
	
	@Override
	public int remove(Long id){
		return costapplyDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return costapplyDao.batchRemove(ids);
	}

	@Override
	public int okconfirm(Long id, int status) {
		return costapplyDao.okconfirm(id,status);
	}


}
